package com.hoyue.attendance.bean;

import java.util.Date;

/**
 * 扩展类
 * @author zhouyong
 * @date 2019/8/23 9:47
 */
public class AttendanceVo extends Attendance {
    private String name;
    private String userName;
    private Date endtime;
    private Integer studentNo;
    private String roleName;
    private String CourseName;
    private String teacherName;

    public AttendanceVo(Integer teachingid,Integer studentid,Integer state,Integer typ,String Coursename,Date starttime){
        this.teachingid = teachingid;
        this.studentid = studentid;
        this.state = state;
        this.typ = typ;
        this.CourseName = Coursename;
        this.starttime = starttime;
    }
    public AttendanceVo(Integer code,Integer teachingid){
        this.code = code;
        this.teachingid = teachingid;
    }
    public AttendanceVo(Integer studentid,String CourseName,String teacherName){
        this.studentid = studentid;
        this.CourseName = CourseName;
        this.userName = teacherName;
    }
    public AttendanceVo(){

    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public String getCourseName() {
        return CourseName;
    }

    public void setCourseName(String courseName) {
        CourseName = courseName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(Integer studentNo) {
        this.studentNo = studentNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "AttendanceExpand{" +
                "name='" + name + '\'' +
                ", userName='" + userName + '\'' +
                ", endtime=" + endtime +
                ", studentNo=" + studentNo +
                '}';
    }
}
